"""
所有用例基类
"""
import unittest
from time import sleep
from tools.utils import chrome
from page.client_page import ClientPage
from page.login_page import LoginPage
from config.config import HOST



# 获取用例级别预处理、用例级别清理环境方法

class BaseCase(unittest.TestCase):


    def setUp(self) -> None:
        self.driver = chrome()
        self.driver.get("http://{}".format(HOST))





    def tearDown(self) -> None:
        sleep(2)
        self.driver.quit()






